export function indexObj(data) {
  return uni.$tn.http.get('/space/index', {params:data})
}

export function listObj(data) {
  return uni.$tn.http.get('/space/list', {params:data})
}

export function detailObj(data) {
  return uni.$tn.http.get('/space/detail', {params:data})
}

export function selectSpace(data) {
  return uni.$tn.http.get('/space/selectSpace', {params:data})
}

export function getNearSpace(data) {
  return uni.$tn.http.get('/space/getNearSpace', {params:data})
}

export function commentList(data) {
  return uni.$tn.http.get('/space/comment', {params:data})
}

export function getDistance(data) {
  return uni.$tn.http.get('/space/getDistance', {params:data})
}



